<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Robocup-denayer-project-a: read-only/trunk/source/serial2/rs232.h Bestand Referentie</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Gegenereerd door Doxygen 1.7.1 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Zoeken');
--></script>
<script type="text/javascript">
function hasClass(ele,cls) {
  return ele.className.match(new RegExp('(\\s|^)'+cls+'(\\s|$)'));
}

function addClass(ele,cls) {
  if (!this.hasClass(ele,cls)) ele.className += " "+cls;
}

function removeClass(ele,cls) {
  if (hasClass(ele,cls)) {
    var reg = new RegExp('(\\s|^)'+cls+'(\\s|$)');
    ele.className=ele.className.replace(reg,' ');
  }
}

function toggleVisibility(linkObj) {
 var base = linkObj.getAttribute('id');
 var summary = document.getElementById(base + '-summary');
 var content = document.getElementById(base + '-content');
 var trigger = document.getElementById(base + '-trigger');
 if ( hasClass(linkObj,'closed') ) {
   summary.style.display = 'none';
   content.style.display = 'block';
   trigger.src = 'open.png';
   removeClass(linkObj,'closed');
   addClass(linkObj,'opened');
 } else if ( hasClass(linkObj,'opened') ) {
   summary.style.display = 'block';
   content.style.display = 'none';
   trigger.src = 'closed.png';
   removeClass(linkObj,'opened');
   addClass(linkObj,'closed');
 }
 return false;
}
</script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Hoofd&nbsp;Pagina</span></a></li>
      <li><a href="annotated.html"><span>Klassen</span></a></li>
      <li class="current"><a href="files.html"><span>Bestanden</span></a></li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
          <span class="left">
            <form id="FSearchBox" action="search.php" method="get">
              <img id="MSearchSelect" src="search/mag.png" alt=""/>
              <input type="text" id="MSearchField" name="query" value="Zoeken" size="20" accesskey="S" 
                     onfocus="searchBox.OnSearchFieldFocus(true)" 
                     onblur="searchBox.OnSearchFieldFocus(false)"/>
            </form>
          </span><span class="right"></span>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&nbsp;Lijst</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#func-members">Functies</a>  </div>
  <div class="headertitle">
<h1>read-only/trunk/source/serial2/rs232.h Bestand Referentie</h1>  </div>
</div>
<div class="contents">
<code>#include &lt;stdio.h&gt;</code><br/>
<code>#include &lt;string.h&gt;</code><br/>
<code>#include &lt;windows.h&gt;</code><br/>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png"/> Include afhankelijkheidsgraaf voor rs232.h:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="rs232_8h__incl.png" border="0" usemap="#read-only_2trunk_2source_2serial2_2rs232_8h" alt=""/></div>
</div>
<div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-1-trigger" src="closed.png"/> Deze graaf geeft aan welke bestanden direct of indirect afhankelijk zijn van dit bestand:</div>
<div id="dynsection-1-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-1-content" class="dyncontent" style="display:none;">
<div class="center"><img src="rs232_8h__dep__incl.png" border="0" usemap="#read-only_2trunk_2source_2serial2_2rs232_8hdep" alt=""/></div>
<map name="read-only_2trunk_2source_2serial2_2rs232_8hdep" id="read-only_2trunk_2source_2serial2_2rs232_8hdep">
<area shape="rect" id="node3" href="rs232_8c.html" title="read&#45;only/trunk/source/serial2/rs232.c" alt="" coords="5,83,267,112"/><area shape="rect" id="node5" href="test_8cpp.html" title="read&#45;only/trunk/source/serial2/test.cpp" alt="" coords="291,83,557,112"/></map>
</div>

<p><a href="rs232_8h_source.html">Ga naar de broncode van dit bestand.</a></p>
<h2><a name="func-members"></a>
Functies</h2>
<ul>
<li>int <a class="el" href="rs232_8h.html#a15bfbfb28c6b93afcba0411ff125a1c8">OpenComport</a> (int, int)
<li>int <a class="el" href="rs232_8h.html#a5282a9bb7ab7af509498a130d860f48f">PollComport</a> (int, unsigned char *, int)
<li>int <a class="el" href="rs232_8h.html#a29482f336dad205f7ba2fef3e8656b97">SendByte</a> (int, unsigned char)
<li>int <a class="el" href="rs232_8h.html#a94c73be461c56184fa18c078ee7e73cd">SendBuf</a> (int, unsigned char *, int)
<li>void <a class="el" href="rs232_8h.html#aa72a2d8a38edf63c253c095c2254a5d2">CloseComport</a> (int)
<li>void <a class="el" href="rs232_8h.html#a82c0b566ffa7fa6ad1c9ba3071e77eaf">cprintf</a> (int, const char *)
<li>int <a class="el" href="rs232_8h.html#aa9a71beaacfca3678b90bb02b2ff65b6">IsCTSEnabled</a> (int)
</ul>
<hr/><h2>Documentatie van functies</h2>
<a class="anchor" id="aa72a2d8a38edf63c253c095c2254a5d2"></a><!-- doxytag: member="rs232.h::CloseComport" ref="aa72a2d8a38edf63c253c095c2254a5d2" args="(int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CloseComport </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>De definitie bevindt zich op regel <a class="el" href="serial_8cpp_source.html#l00360">360</a> in het bestand <a class="el" href="serial_8cpp_source.html">serial.cpp</a>.</p>

<p>Wordt aangeroepen door <a class="el" href="test_8cpp_source.html#l00008">Drive()</a>, <a class="el" href="test_8cpp_source.html#l00035">Rotate()</a>, <a class="el" href="motors_8cpp_source.html#l00053">Motors::setSpeed()</a> en <a class="el" href="motors_8cpp_source.html#l00090">Motors::setSpeedAcc()</a>.</p>

<p><div id="dynsection-2" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-2-trigger" src="closed.png"/> Hier is de caller graaf voor deze functie:</div>
<div id="dynsection-2-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-2-content" class="dyncontent" style="display:none;">
<div class="center"><img src="rs232_8h_aa72a2d8a38edf63c253c095c2254a5d2_icgraph.png" border="0" usemap="#rs232_8h_aa72a2d8a38edf63c253c095c2254a5d2_icgraph" alt=""/></div>
<map name="rs232_8h_aa72a2d8a38edf63c253c095c2254a5d2_icgraph" id="rs232_8h_aa72a2d8a38edf63c253c095c2254a5d2_icgraph">
<area shape="rect" id="node3" href="test_8cpp.html#a45b838daf06782e49813fb7631e957ec" title="Drive" alt="" coords="221,5,275,35"/><area shape="rect" id="node7" href="test_8cpp.html#a64bbebeb63a1a4de9b3aa24c1650599e" title="Rotate" alt="" coords="217,59,279,88"/><area shape="rect" id="node10" href="class_motors.html#ae5fe2fd03098baf0fd6e55c1b52a01e9" title="setSpeed" alt="" coords="181,112,315,141"/><area shape="rect" id="node20" href="class_motors.html#a8492da1f62dcd7034f93fc8441e6579a" title="setSpeedAcc" alt="" coords="169,165,327,195"/><area shape="rect" id="node5" href="test_8cpp.html#a0ddf1224851353fc92bfbff6f499fa97" title="main" alt="" coords="423,7,476,36"/><area shape="rect" id="node12" href="class_besturing.html#a5a5a117fc659778bfe47e2fd63e08c42" title="Besturing::Besturing" alt="" coords="571,73,723,103"/><area shape="rect" id="node14" href="rij_test_8cpp.html#a0ddf1224851353fc92bfbff6f499fa97" title="main" alt="" coords="620,139,673,168"/><area shape="rect" id="node16" href="class_motors.html#a2a03135d58d03d8a82be9be0ceca1236" title="stopMotors" alt="" coords="376,112,523,141"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a82c0b566ffa7fa6ad1c9ba3071e77eaf"></a><!-- doxytag: member="rs232.h::cprintf" ref="a82c0b566ffa7fa6ad1c9ba3071e77eaf" args="(int, const char *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cprintf </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>De definitie bevindt zich op regel <a class="el" href="serial_8cpp_source.html#l00380">380</a> in het bestand <a class="el" href="serial_8cpp_source.html">serial.cpp</a>.</p>

<p>Gebruikt <a class="el" href="serial_8cpp_source.html#l00335">SendByte()</a>.</p>

<p><div id="dynsection-3" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-3-trigger" src="closed.png"/> Hier is de call graaf voor deze functie:</div>
<div id="dynsection-3-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-3-content" class="dyncontent" style="display:none;">
<div class="center"><img src="rs232_8h_a82c0b566ffa7fa6ad1c9ba3071e77eaf_cgraph.png" border="0" usemap="#rs232_8h_a82c0b566ffa7fa6ad1c9ba3071e77eaf_cgraph" alt=""/></div>
<map name="rs232_8h_a82c0b566ffa7fa6ad1c9ba3071e77eaf_cgraph" id="rs232_8h_a82c0b566ffa7fa6ad1c9ba3071e77eaf_cgraph">
<area shape="rect" id="node3" href="serial_8cpp.html#afe562336ecdfdbe686af2ee967512a87" title="SendByte" alt="" coords="119,5,201,35"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="aa9a71beaacfca3678b90bb02b2ff65b6"></a><!-- doxytag: member="rs232.h::IsCTSEnabled" ref="aa9a71beaacfca3678b90bb02b2ff65b6" args="(int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int IsCTSEnabled </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>De definitie bevindt zich op regel <a class="el" href="serial_8cpp_source.html#l00366">366</a> in het bestand <a class="el" href="serial_8cpp_source.html">serial.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a15bfbfb28c6b93afcba0411ff125a1c8"></a><!-- doxytag: member="rs232.h::OpenComport" ref="a15bfbfb28c6b93afcba0411ff125a1c8" args="(int, int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int OpenComport </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>De definitie bevindt zich op regel <a class="el" href="serial_8cpp_source.html#l00229">229</a> in het bestand <a class="el" href="serial_8cpp_source.html">serial.cpp</a>.</p>

<p>Wordt aangeroepen door <a class="el" href="test_8cpp_source.html#l00008">Drive()</a>, <a class="el" href="test_8cpp_source.html#l00035">Rotate()</a>, <a class="el" href="motors_8cpp_source.html#l00053">Motors::setSpeed()</a> en <a class="el" href="motors_8cpp_source.html#l00090">Motors::setSpeedAcc()</a>.</p>

<p><div id="dynsection-4" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-4-trigger" src="closed.png"/> Hier is de caller graaf voor deze functie:</div>
<div id="dynsection-4-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-4-content" class="dyncontent" style="display:none;">
<div class="center"><img src="rs232_8h_a15bfbfb28c6b93afcba0411ff125a1c8_icgraph.png" border="0" usemap="#rs232_8h_a15bfbfb28c6b93afcba0411ff125a1c8_icgraph" alt=""/></div>
<map name="rs232_8h_a15bfbfb28c6b93afcba0411ff125a1c8_icgraph" id="rs232_8h_a15bfbfb28c6b93afcba0411ff125a1c8_icgraph">
<area shape="rect" id="node3" href="test_8cpp.html#a45b838daf06782e49813fb7631e957ec" title="Drive" alt="" coords="219,5,272,35"/><area shape="rect" id="node7" href="test_8cpp.html#a64bbebeb63a1a4de9b3aa24c1650599e" title="Rotate" alt="" coords="215,59,276,88"/><area shape="rect" id="node10" href="class_motors.html#ae5fe2fd03098baf0fd6e55c1b52a01e9" title="setSpeed" alt="" coords="179,112,312,141"/><area shape="rect" id="node20" href="class_motors.html#a8492da1f62dcd7034f93fc8441e6579a" title="setSpeedAcc" alt="" coords="167,165,324,195"/><area shape="rect" id="node5" href="test_8cpp.html#a0ddf1224851353fc92bfbff6f499fa97" title="main" alt="" coords="420,7,473,36"/><area shape="rect" id="node12" href="class_besturing.html#a5a5a117fc659778bfe47e2fd63e08c42" title="Besturing::Besturing" alt="" coords="568,73,720,103"/><area shape="rect" id="node14" href="rij_test_8cpp.html#a0ddf1224851353fc92bfbff6f499fa97" title="main" alt="" coords="617,139,671,168"/><area shape="rect" id="node16" href="class_motors.html#a2a03135d58d03d8a82be9be0ceca1236" title="stopMotors" alt="" coords="373,112,520,141"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a5282a9bb7ab7af509498a130d860f48f"></a><!-- doxytag: member="rs232.h::PollComport" ref="a5282a9bb7ab7af509498a130d860f48f" args="(int, unsigned char *, int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int PollComport </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned char *&nbsp;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>De definitie bevindt zich op regel <a class="el" href="serial_8cpp_source.html#l00321">321</a> in het bestand <a class="el" href="serial_8cpp_source.html">serial.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a94c73be461c56184fa18c078ee7e73cd"></a><!-- doxytag: member="rs232.h::SendBuf" ref="a94c73be461c56184fa18c078ee7e73cd" args="(int, unsigned char *, int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int SendBuf </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned char *&nbsp;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>De definitie bevindt zich op regel <a class="el" href="serial_8cpp_source.html#l00347">347</a> in het bestand <a class="el" href="serial_8cpp_source.html">serial.cpp</a>.</p>

<p>Wordt aangeroepen door <a class="el" href="test_8cpp_source.html#l00008">Drive()</a>, <a class="el" href="test_8cpp_source.html#l00035">Rotate()</a>, <a class="el" href="motors_8cpp_source.html#l00053">Motors::setSpeed()</a> en <a class="el" href="motors_8cpp_source.html#l00090">Motors::setSpeedAcc()</a>.</p>

<p><div id="dynsection-5" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-5-trigger" src="closed.png"/> Hier is de caller graaf voor deze functie:</div>
<div id="dynsection-5-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-5-content" class="dyncontent" style="display:none;">
<div class="center"><img src="rs232_8h_a94c73be461c56184fa18c078ee7e73cd_icgraph.png" border="0" usemap="#rs232_8h_a94c73be461c56184fa18c078ee7e73cd_icgraph" alt=""/></div>
<map name="rs232_8h_a94c73be461c56184fa18c078ee7e73cd_icgraph" id="rs232_8h_a94c73be461c56184fa18c078ee7e73cd_icgraph">
<area shape="rect" id="node3" href="test_8cpp.html#a45b838daf06782e49813fb7631e957ec" title="Drive" alt="" coords="184,5,237,35"/><area shape="rect" id="node7" href="test_8cpp.html#a64bbebeb63a1a4de9b3aa24c1650599e" title="Rotate" alt="" coords="180,59,241,88"/><area shape="rect" id="node10" href="class_motors.html#ae5fe2fd03098baf0fd6e55c1b52a01e9" title="setSpeed" alt="" coords="144,112,277,141"/><area shape="rect" id="node20" href="class_motors.html#a8492da1f62dcd7034f93fc8441e6579a" title="setSpeedAcc" alt="" coords="132,165,289,195"/><area shape="rect" id="node5" href="test_8cpp.html#a0ddf1224851353fc92bfbff6f499fa97" title="main" alt="" coords="385,7,439,36"/><area shape="rect" id="node12" href="class_besturing.html#a5a5a117fc659778bfe47e2fd63e08c42" title="Besturing::Besturing" alt="" coords="533,73,685,103"/><area shape="rect" id="node14" href="rij_test_8cpp.html#a0ddf1224851353fc92bfbff6f499fa97" title="main" alt="" coords="583,139,636,168"/><area shape="rect" id="node16" href="class_motors.html#a2a03135d58d03d8a82be9be0ceca1236" title="stopMotors" alt="" coords="339,112,485,141"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a29482f336dad205f7ba2fef3e8656b97"></a><!-- doxytag: member="rs232.h::SendByte" ref="a29482f336dad205f7ba2fef3e8656b97" args="(int, unsigned char)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int SendByte </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned&nbsp;</td>
          <td class="paramname"> <em>char</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>De definitie bevindt zich op regel <a class="el" href="serial_8cpp_source.html#l00335">335</a> in het bestand <a class="el" href="serial_8cpp_source.html">serial.cpp</a>.</p>

<p>Wordt aangeroepen door <a class="el" href="serial_8cpp_source.html#l00380">cprintf()</a>.</p>

<p><div id="dynsection-6" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-6-trigger" src="closed.png"/> Hier is de caller graaf voor deze functie:</div>
<div id="dynsection-6-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-6-content" class="dyncontent" style="display:none;">
<div class="center"><img src="rs232_8h_a29482f336dad205f7ba2fef3e8656b97_icgraph.png" border="0" usemap="#rs232_8h_a29482f336dad205f7ba2fef3e8656b97_icgraph" alt=""/></div>
<map name="rs232_8h_a29482f336dad205f7ba2fef3e8656b97_icgraph" id="rs232_8h_a29482f336dad205f7ba2fef3e8656b97_icgraph">
<area shape="rect" id="node3" href="rs232_8h.html#a82c0b566ffa7fa6ad1c9ba3071e77eaf" title="cprintf" alt="" coords="140,5,201,35"/></map>
</div>
</p>

</div>
</div>
</div>
<hr class="footer"/><address class="footer"><small>Gegenereerd op Do 19 Mei 2011 10:15:29 voor Robocup-denayer-project-a door&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
</body>
</html>
